import {api} from '../request'

export function login(params) {
    return api('/api/v1/member/login',params,'post');
}

export function register(params) {
    return api('/api/v1/member/register',params,'post');
}

export function getUser() {
    return api('/api/v1/member/me',"",'post');
}
// 修改密码
export function resetPassword(params) {
    return api('/api/v1/member/updatePassword',params,'post');
}
// 修改个人信息
export function resetUser(params) {
    return api('/api/v1/member/updateMemberProfile ',params,'post');
}